import {request} from "../request";
import store from "../../store";

export function getOrganizationContacts(){
	return request({
		url: '/sys/contacts/organization',
		method: 'get'
	})
}

export function getUserContactsGroupData(){
	return request({
		url: '/sys/contacts/user-group',
		method: 'get',
		params:{
			empId: store.state.loginUser.id
		}
	})
}

//导出员工通讯录
export function exportOrganizationContacts(){
	return request({
		url: '/sys/contacts/export',
		method: 'get',
		responseType: 'blob',
	})
}

